package api

import (
	"github.com/gin-gonic/gin"
	"zy35/api/handlers"
)

func LoadApiRoutes(r *gin.Engine) {
	r.POST("/addBook", handlers.AddBook)
	r.POST("/bookLike", handlers.BookLike)
	r.POST("/addReview", handlers.AddReview)
	r.POST("/resReview", handlers.ResReview)
	r.POST("/reviewLike", handlers.AddReviewLike)
	r.GET("/getBookDetail", handlers.GetBookDetail)
}
